package io.mvvm.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("spring-cloud-consul-discovery-provider")
public interface DemoClient {

    @GetMapping("/get/{str}")
    String get(@PathVariable("str") String str);

}
